/* $RCSFile: UserModuleSettings.cs $
 * Apache license v2 2011 by Christian Surieux
 * $Source: ?/ADNCRM.Core/BLL/UserConfig/UserModuleSettings.cs $
 * $log$
 * Revision 6 2010/08/06 19:56:27  christian.surieux
 *   Added Log to All cs files
 */

	//===============================================================================
	//
	//	 Business Logic Layer
	//
	//
	//
	// Encapsulates the detailed settings for a specific Module
	//
	//===============================================================================

namespace AddonNice.BLL.UserConfig
{
	using System;
	using AddonNice.BLL.Utils;

	//*********************************************************************
	//
	// UserModuleSettings Class
	//
	// Class that encapsulates the detailed settings for a specific Module 
	// in the Portal for the user
	//
	//*********************************************************************
	[Serializable()]  
	public sealed class UserModuleSettings 
	{

		#region Public Data
		public int				ModuleID;
		public int				PageID;
		public WindowStateEnum  State;

		#endregion

		#region Public Ctors

		/// <summary>
		/// ctor
		/// </summary>
		public UserModuleSettings(int moduleID,WindowStateEnum state,int wPageID ) 
		{
			ModuleID		= moduleID;
			State			= state;
			PageID			= wPageID;

		} // end of ctor
		/// <summary>
		/// ctor
		/// </summary>
		public UserModuleSettings(int moduleID) : this(moduleID,WindowStateEnum.Open,-1)
		{
		} // end of ctor
		/// <summary>
		/// ctor
		/// </summary>
		public UserModuleSettings() : this(-1,WindowStateEnum.Open, -1)
		{
		} // end of ctor

		#endregion

	} 
}
